package com.dycx.payment.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dycx.common.RestResponse;
import com.dycx.payment.entity.PaymentOrderDO;
import com.dycx.payment.vo.PaymentOrderVO;
import com.dycx.payment.dto.PaymentOrderDTO;
import com.wechat.pay.java.service.payments.jsapi.model.PrepayWithRequestPaymentResponse;
import com.wechat.pay.java.service.payments.model.Transaction;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;


/**
 * 文章关键字(PaymentOrder)表服务接口
 *
 * @author wuzongbin
 * @since 2024-01-16 09:57:09
 */
public interface PaymentOrderService extends IService<PaymentOrderDO> {

    /**
     * 分页
     */
    Page<PaymentOrderVO> getPage(PaymentOrderDTO dto);

    /**
     * 获取详情
     */
    PaymentOrderVO load(Integer payOrderId);

    /**
     * 添加
     */
    String create(PaymentOrderDTO dto);

    /**
     * 修改
     */
    Boolean edit(PaymentOrderDTO dto);

    /**
     * 删除
     */
    Boolean delete(Integer payOrderId);

}

